package com.xjtu.se.homework.ops.link.service.impl;

import com.xjtu.se.homework.ops.link.dto.LinkSearchDto;
import com.xjtu.se.homework.ops.link.service.LinkService;
import com.xjtu.se.homework.ops.link.bean.LogItem;
import com.xjtu.se.homework.ops.link.dao.LinkDao;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Service
@Transactional
public class LinkServiceImpl implements LinkService {
    @Resource
    private LinkDao linkDao;

    @Override
    public List<LogItem> getLogsByCondition(LinkSearchDto linkSearchDto) {
        return linkDao.getLogsByCondition(linkSearchDto);
    }
}
